Linux/Mac系统使用 steamcommunity 302 的教程 您所在的位置:网站首页 steam 302工具 Linux/Mac系统使用 steamcommunity 302 的教程

Linux/Mac系统使用 steamcommunity 302 的教程

2024-07-17 14:27| 来源: 网络整理| 查看: 265

steamcommunity 302后端使用caddy,在生成所有配置文件后可直接迁移到Linux/Macos环境下使用

首先要在Windows环境 / Wine下 运行 steamcommunity 302 并在设置里打勾需要开启的功能,然后正常启动服务

1.前往caddy/release页下载caddy对应系统版本

(下载tar.gz/zip的压缩包格式的)

https://github.com/caddyserver/caddy/releases/tag/v2.5.0-beta.1

下载后解压得到caddy

Linux/Mac系统使用 steamcommunity 302 的教程Linux/Mac系统使用 steamcommunity 302 的教程2.编辑 steamcommunity_302.caddy.json

批量替换,将端口替换为443 注意:此处端口7119为随机生成,全局进行批量替换为443即可

Linux/Mac系统使用 steamcommunity 302 的教程Linux/Mac系统使用 steamcommunity 302 的教程3.将302目录下的文件与caddy一同拷贝到Linux/Macos (一共是6个文件)代码语言:javascript复制steamcommunityCA.pem steamcommunityCA.key steamcommunity.key steamcommunity.crt steamcommunity_302.caddy.json caddy 记得hosts也要复制! hosts文件里的对应条目,均为#S302结尾

Linux/Mac系统使用 steamcommunity 302 的教程Linux/Mac系统使用 steamcommunity 302 的教程4.导入根证书 steamcommunityCA.pem

由于不同发行版导入方式不同,这里仅给出参考方法,应该都需要root权限 Centos: cp steamcommunityCA.pem /etc/pki/ca-trust/source/anchors 运行/bin/update-ca-trust Ubuntu: cp steamcommunityCA.pem /usr/local/share/ca-certificates 运行update-ca-certificates Macos: https://www.cnblogs.com/reachos/p/12201389.html

火狐出现证书问题点击,参考常见问题解决3解决

5.文件到位并写入对应hosts后,运行

#赋予caddy执行权限 chmod +x caddy #启动 ./caddy run --config steamcommunity_302.caddy.json --adapter caddyfile

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:[email protected]进行举报,并提供相关证据,查实之后,将立刻删除涉嫌侵权内容。 转载本站文章请保留原文链接,如文章内说明不允许转载该文章,请不要转载该文章,谢谢合作。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有